package com.base.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.po.voip.Categories;
import com.base.po.voip.CategoriesExample;

public interface CategoriesService {
	int countByExample(CategoriesExample example);

	int deleteByExample(CategoriesExample example);

	int deleteByPrimaryKey(String id);

	int insert(Categories record);

	int insertSelective(Categories record);

	List<Categories> selectByExample(CategoriesExample example);

	List<Categories> selectByAgentid(String dpic);

	Categories selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Categories record, @Param("example") CategoriesExample example);

	int updateByExample(@Param("record") Categories record, @Param("example") CategoriesExample example);

	int updateByPrimaryKeySelective(Categories record);

	int updateByPrimaryKey(Categories record);
}
